<include file="Public:header" />
			<include file="Public:menu" />
			<div id="right">
				<div class="top"></div>
				<div class="app_right_banner">
					<div class="app_face">
						<img src="__PUBLIC__/Uploads/face/small/{$userInfo:faceimg}"/>
					</div>
					<div class="app_userinfo">
						<p class="app_module">{$group:name} -- 成员管理</p>
						<p class = "app_module_back"><a href="__URL__/showgroup/id/{.id}">返回群组</a></p>
					</div>
				</div>
				<div class="app_right_menu">
					<div class="arm_2">
						<a href="__URL__/editgroup/id/{.id}">群组信息修改</a>
					</div>
					<div class="arm_2">
						<a href="__URL__/editgroupface/id/{.id}">群组头像修改</a>						
					</div>
					<div class="arm_1">
						成员设置
					</div>
				</div>
				<div class="app_right_left">
					<div class="create_body">
						<form action="__URL__/postgroupinvite" method="post" id="saveUserForm">
							<div class="friendinvite">
								<p>您可以从右边的列表选择需要邀请的朋友加入这个群组。</p>
								<p>	<ul id="friendlist"></ul></p>
								<p>邀请附言（可选）</p>
								<p><textarea id="invitemsg" name="invitemsg"></textarea></p>
								<p>
									<input type="hidden" id="groupid" name="groupid" value="{$group:id}"/>
									<input type="submit" id="invitesubmit" value="发送邀请"/>
								</p>
							</div>
						</form>
						<div class="friendinvite">
							<p class="strong text14">本群组成员</p>
							<p>
								<ul>
									<volist name="groupUserList" id="user">
									<li>
										<span id="user{$user:userid}" title="{$user:userid}"><a href="__APP__/home/{$user:userid}">{$user:username}</a></span>
										<span class="type">{$user:usertype}</span>
									</li>
									</volist>
								</ul>
								<input id="myid" type="hidden" value="{$userInfo:id}"/>
							</p>
							<p class="strong text14">待批准的成员</p>
							<p>
								<ul>
									<volist empty="没有记录" name="groupRequestUser" id="ruser">
									<li>
										<span id="user{$ruser:userid}" title="{$ruser:userid}">{$ruser:username}</span>
									</li>
									</volist>
								</ul>
								<input id="myid" type="hidden" value="{$userInfo:id}"/>
							</p>
							<p class="strong text14">受邀请但未加入的成员</p>
							<p>
								<ul id="inviteuser">
									<volist empty="没有记录" name="groupInviteuser" id="iuser">
									<li>
										<span id="user{$iuser:userid}" title="{$iuser:userid}"><a href="__APP__/home/{$iuser:userid}">{$iuser:username}</a></span>
									</li>
									</volist>
								</ul>
								<input id="myid" type="hidden" value="{$userInfo:id}"/>
							</p>
							
						</div>
					</div>
					
				</div>
				<div class="app_right_right">
					<div class="invitecontent">
						<br/>
						<p class="strong text14">邀请好友</p>
						<p><input name="friend" value="输入名字" class="friendinput"/></p>
						<p>
							<ul class="friendlistul">
								<volist name="friendList" id="friend">
								<li class="friendname" id="{$friend:friendid}"><input type="checkbox" name="frinedid[]" value="{$friend:friendid}"/>{$friend:username}</li>
								</volist>
							</ul>
						</p>
					</div>
				</div>
			</div>
<include file="Public:footer" />